package edu.neu.ecommerceplatform.service;

import edu.neu.ecommerceplatform.dto.CreateOrderRequest;
import edu.neu.ecommerceplatform.model.Order;
import edu.neu.ecommerceplatform.dto.TopSpenderDto;

import java.util.List;

public interface OrderService {
    Order getOrderById(Integer id);
    List<Order> getAllOrders();
    Order createOrder(CreateOrderRequest createOrderRequest);
    Order updateOrder(Order order);
    void deleteOrder(Integer id);
    List<Order> getOrdersByCustomerId(Integer customerId);

    TopSpenderDto getTopSpenderToday();
} 